package com.fuhan.pojo;

/**
 * @Author: Chao
 * @description:
 * @Date: 2021/3/11 17:41
 */
public class TempHumData {
    private int id;
    private String temperature;
    private String humidity;
    private String luminance;
    private String eventTime;

    public TempHumData() {
    }

    public TempHumData(int id, String temperature, String humidity, String luminance, String eventTime) {
        this.id = id;
        this.temperature = temperature;
        this.humidity = humidity;
        this.luminance = luminance;
        this.eventTime = eventTime;
    }

    public TempHumData(String temperature, String humidity, String luminance, String eventTime) {
        this.temperature = temperature;
        this.humidity = humidity;
        this.luminance = luminance;
        this.eventTime = eventTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getHumidity() {
        return humidity;
    }

    public void setHumidity(String humidity) {
        this.humidity = humidity;
    }

    public String getLuminance() {
        return luminance;
    }

    public void setLuminance(String luminance) {
        this.luminance = luminance;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    @Override
    public String toString() {
        return "TempHumData{" +
                "id=" + id +
                ", temperature='" + temperature + '\'' +
                ", humidity='" + humidity + '\'' +
                ", luminance='" + luminance + '\'' +
                ", eventTime='" + eventTime + '\'' +
                '}';
    }
}
